package com.kgc.basicprovider.dao;

import com.kgc.basic.pojo.Account;

import java.util.List;
import java.util.Map;

public interface AccountMapper {
    //校验编码是否重复
    Account selectAccountByCode(String code);

    List<Account>  selectAccountByPage(Map<String,Object> map);

    int insertAccount(Account account);

    int updateAccount(Account account);

    int deleteAccount(int id);
}
